Skip to content

fix(windows): settings cards set Content only when there is one - #4693

Merged
datlechin merged 3 commits into
mainfrom
fix/windows-aot-null-assignments
Nov 28, 2026
Merged

datlechin merged 3 commits into
mainfrom
fix/windows-aot-null-assignments

Conversation

@datlechin

@datlechin datlechin commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Fixes main's Windows AOT publish after feat(windows): TablePro Sync settings, status and end-to-end encryption #4651 (run 46145843797): CS8601 at AccountKeysView.xaml.cs(441,70), TeamKeysView.xaml.cs(188,23) and (370,70).
  • SettingsCard.Description and SettingsExpander.Content take a non-null object, so each card sets its description and content only when it has one, instead of assigning null.
  • The analyzer errors the nullable ones hid: ApproveAsync and ResetAsync return Task<KeyDialogResult> (CA1859), and the conflict loop reads library.Conflicts is [var conflict, ..] (CA1826).
  • The WMC0909 errors for local:EngineGroup and local:EngineChoice in ConnectionFormWindow.xaml followed from the failed C# pass and are gone once it compiles.

Test plan

  • On the OSMates tp-win VM (real Windows, Arm64): main 1d3292c with this PR's three files builds TablePro.App in Debug win-arm64 with 0 warnings and 0 errors.
  • Same VM: CI's publish step, dotnet publish -c Release -r win-arm64 -p:Platform=ARM64 -p:CargoProfile=dev, exits 0 with no WMC0909 and no AOT warnings.

@datlechin
datlechin merged commit d02dfdb into main Nov 28, 2026
12 of 14 checks passed
@datlechin
datlechin deleted the fix/windows-aot-null-assignments branch November 28, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant